<?
define('ROOT', $_SERVER['DOCUMENT_ROOT']);
require_once(ROOT.'/public/global.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>MagicDTree&nbsp;<?=$Msg['app']['doc'] ?></title>
<title>JQuery MagicGrid Document</title>
<meta name="description" content="JQuery Dynatree Wrapper - MagicDTree Document" />
<meta name="keywords" content="JQuery Dynatree Wrapper MagicDTree Plugin Document" />
<? require_once(ROOT.'/public/ref.php'); ?>
<link href="/mac/js/tabs/css/default.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/mac/tabs.js"></script>
<script type="text/javascript">
$(function(){
	$('#docTabs').mac('tabs',{
		items: [{
			code: 'overview',
			title: 'Overview',
			height: 'auto',
			el: $('#overview')
		},{
			code: 'options',
			title: 'Options',
			height: 'auto',
			el: $('#options')
		},{
			code: 'events',
			title: 'Events',
			height: 'auto',
			el: $('#events')
		},{
			code: 'methods',
			title: 'Methods',
			height: 'auto',
			el: $('#methods')
		}]
	}).selectFirst();
});
</script>
</head>
<body>
<?
require_once(ROOT.'/public/head.php');
?>
<div id="nav">
	<div id="nav_path">
		&nbsp;&nbsp;
		<a href="<?=$LP?>">Home</a>
		&gt;
		<a href="<?=$LP?>mac/js">Javascript</a>
		&gt;
		<a href="<?=$LP?>mac/js/dtree">MagicDTree</a>
		&gt;
		<?=$Msg['app']['doc']?>
	</div>
	<div id="nav_back">
		<a href="<?=$LP?>mac/js/dtree"><?=$Msg['app']['demo']?></a>
		|
		<a href="javascript:history.back()"><?=$Msg['back']?></a>
		|
		<a href="<?=$LP?>mac/js"><?=$Msg['download']?></a>
		&nbsp;&nbsp;
	</div>
	<div class="clear"></div>
</div>
<div id="docTabs" class="tabs"></div>
<?
require_once($LN.'.php');
?>
<iframe src="/mac/js/related.php" class="related"></iframe>
<?
require_once(ROOT.'/public/foot.html');
?>
</body>
</html>
<?
$fp = ROOT.$LP.'javascript/dtree/doc/';
output(basename(__FILE__), $fp.'index.html');
?>